import Layout from '@/layout'

export default {
    path: '/basicConfig',
    component: Layout,
    redirect: '/basicConfig',
    name: 'BasicConfig',
    meta: {
        title: '规则配置',
        icon: 'clipboard',
    },
    children: [
        {
            path: 'integral',
            name: 'Integral',
            component: () => import('@/views/basicConfig/integral'),
            meta: {
                title: '积分规则',
                icon: 'clipboard',
            }
        },
        {
            path: 'config',
            name: 'ConfigIndex',
            component: () => import('@/views/basicConfig/config'),
            meta: {
                title: '邀请规则',
                icon: 'clipboard',
            }
        },
        {
            path: 'consumption',
            name: 'Consumption',
            component: () => import('@/views/basicConfig/consumption'),
            meta: {
                title: '消费规则',
                icon: 'clipboard',
            }
        },
        {
            path: 'member-level',
            name: 'MemberLevel',
            component: () => import('@/views/basicConfig/member-level'),
            meta: {
                title: '会员升级配置',
                icon: 'clipboard',
            }
        },
        {
            path: 'member-grade',
            name: 'MemberGrade',
            component: () => import('@/views/basicConfig/member-grade'),
            meta: {
                title: '会员等级配置',
                icon: 'clipboard',
            }
        },
        {
            path: 'member-rights',
            name: 'MemberRights',
            component: () => import('@/views/basicConfig/member-rights'),
            meta: {
                title: '会员权益配置',
                icon: 'clipboard',
            }
        }
    ]
}
